package com.topone.Converter;

import com.topone.Form.ConvenientInfoForm;
import com.topone.dataObject.ConvenientInfo;
import org.springframework.beans.BeanUtils;

/**
 * Created by Administrator on 2018/1/1,0001.
 */

public class ConvenientInfoForm2ConvenientInfo {
    public static ConvenientInfo convert(ConvenientInfoForm convenientInfoForm) {

        ConvenientInfo convenientInfo = new ConvenientInfo();
        BeanUtils.copyProperties(convenientInfoForm,convenientInfo);
        return convenientInfo;
    }
}
